import Vue from "vue";
import {
  Button,
  Dialog,
  Drawer,
  Image,
  Carousel,
  CarouselItem,
  Timeline,
  TimelineItem
} from "element-ui";

import "element-ui/lib/theme-chalk/index.css";
import App from "./App.vue";

import skyModal from "@/components";
import skyDrawer from "@/components";

Vue.use(Button)
  .use(Dialog)
  .use(Drawer)
  .use(Image)
  .use(Carousel)
  .use(CarouselItem)
  .use(Timeline).use(TimelineItem);
  
Vue.use(skyModal).use(skyDrawer);
Vue.config.productionTip = false;

import router from "./router";
new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
